export interface AlertProps {
    content?: string;
    type ?: "success" | "info" | "warning" | "error";
    effect?: "light" | "dark";
    closable?: boolean;
    icon?:string
}

export interface AlertEvents  {
    (e:'close') : void,
}

// slot


// 暴露方法,让用户自己调用
export interface Instance {
    close: () => void;
}